<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统管理</title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/client/style.css"  type="text/css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/admin-all.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.min.css" />
    <script src="${pageContext.request.contextPath}/js/layui/layui.all.js"></script>
    <script src="${pageContext.request.contextPath}/js/jquery/jquery-3.3.1.js"></script>

<script language="javascript">
	function save(){
		layer.alert("新增用户密码默认为:123456");
        setTimeout(go,2000);
        function go(){
            window.location.href="saveUser";
        }

	}
</script>
<script src="${pageContext.request.contextPath}/common.js" type="text/javascript"></script>
</head>

<body>
<div class="alert alert-info">系统管理<b class="tip"></b>新增用户</div>
<input type="hidden" id="msg" value="${msg}"/>

<form action="${pageContext.request.contextPath}/saveUser" method="post">
    <div class="button_bar">
        <input type="button" class="common_button" onclick="layer.alert('欢迎使用!');" value="帮助"/>
        <input type="button" class="common_button" onclick="window.history.go(-1);" value="返回"/>
        <input type="submit" class="common_button"  value="保存"/>
    </div>
    <table class="query_table">
        <tr>
            <th>编号</th>
            <td><input type="text" name="id" size="20" readonly  /></td>
            <th>用户名称</th>
            <td>
                <input type="text" name="user_name" size="20" />
                <span class="red_star">*</span>
            </td>
        </tr>
        <tr>
            <th>职位</th>
            <td>
                <select  name="role" >
                    <option>  请选择  </option>
                    <option value="系统管理员">系统管理员</option>
                    <option value="总经理">总经理</option>
                    <option value="销售主管">销售主管</option>
                    <option value="高管">高管</option>
                    <option value="部门经理">部门经理</option>
                </select>

            </td>
            <th>创建时间</th>
            <td><input type="text" name="regist_time" size="20" readonly />
                <span class="red_star">*</span>
            </td>
        </tr>
        <tr>
            <th>联系地址</th>
            <td><input type="text" name="address" size="20" />
                <span class="red_star">*</span>
            </td>
            <th>联系人电话</th>
            <td><input type="text" name="tel" size="20" /></td>
        </tr>

        <tr>
            <th>备注</th>
            <td colspan="3">
                <textarea name="notes" rows="6" cols="50"></textarea>
                <span class="">*</span>
            </td>
        </tr>
        <tr>
            <th>创建人</th>
            <td><input type="text" name="creator" size="20"   readonly />
                <span class="red_star">*</span></td>
       </tr>
    </table>
</form>
</div>
</body>
</html>
